package com.cxf.service;

import java.util.List;

import com.cxf.entity.Account;
import com.cxf.entity.Pet;
import com.cxf.entity.PetOwner;
import com.cxf.entity.PetStore;

public interface PetStoreService {
	public PetStore findPetStoreByName(String name);
	public void buyPet(PetStore petStore,PetOwner owner,Pet pet);
	public boolean keepPet(Pet pet);
	public int sellPet(PetStore petStore,PetOwner owner,Pet pet);
	public List<Pet> getUnsellPet(PetStore petStore);
	public double getBalance(int i);
	public List<Account> getAccount(int i);

	public List<Pet> getAllPet(int id);
	public boolean identity(String user,String password);
	
}
